﻿using MiniFox.Infrastructure.Attributes;
using MiniFox.Infrastructure;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Repository.Core.Models.Queries
{
    [JsonObject]
    public class VersionQuery
    {
        [TargetProperty("VersionTime", QueryOperation.GreaterThan)]
        public DateTime? StartTime { get; set; }

        [TargetProperty("VersionTime", QueryOperation.LessThan)]
        public DateTime? EndTime { get; set; }
    }
}
